package com.example.spd.service.taobaoUrl;


import java.util.Date;
import java.util.List;
import java.util.function.IntBinaryOperator;

public interface TaobaoUrlService {
//如有疑问请参考淘宝码上放心接口文档API:https://open.taobao.com/api.htm?docId=64956&docType=2&scopeId=20981

    /**
     * 查询药品目录信息
     */
    Object selectDrugListUrl(String code);

    /**
     * 零售单据上传接口
     */
    void uploadretail(String billCode, Date billTime, String billType, String traceCodes);

    /**
     * 上零售单据上传接口
     */
    void traceCodes(String billCode, Date billTime, Integer billType, Integer physicType, String fromUserId, String toUserId, String traceCodes);

    /**
     * 传单据后处理状态查询
     */
    Object billstatus(String beginDate, String endDate, String billType, Long pageSize, Long page);


    Object upbillcode(String code);

    Object relation(String code);

    Object getentinfo();

    Object codedetail(String codes);

    // 根据单据号查询单据的详情信息【注意：查询的是本企业的单据】
    Object uploadinoutbill(String codes);

    Object uploadinoutbill(String codes, String fromUserId);

    Object listupout(String beginDate, String endDate, Long pageSize, Long page);

    Object detail(String billCode, String fromRefUserId, String toRefUserId);

    Object listparts(String pageSize, String page);

    Object getbyrefentid(String destRefEntId);

    Object drugtable(String physicName, Long pageSize, Long page);

    Object getdruglist(String physicName, Long pageSize, Long page);

    Object getenddate();

    Object downloadurl();
}
